﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Shared/ContentMaster.master"
    CodeFile="loginLogList.aspx.cs" Inherits="ltMan_stat_loginLogList" %>

<asp:Content ID="C1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="C2" ContentPlaceHolderID="CPH1" runat="Server">
    <telerik:RadAjaxManagerProxy runat="server" ID="proxy1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadGrid ID="RadGrid1" runat="server" Width="100%" PageSize="12" OnDeleteCommand="RadGrid1_DeleteCommand" OnItemCommand="RadGrid1_ItemCommand">
        <ClientSettings>
            <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="340" />
        </ClientSettings>
        <MasterTableView CommandItemDisplay="Top" DataKeyNames="id">
            <CommandItemTemplate>
                <telerikEx:GridCommandEx ID="GridCommandEx1" runat="server" ShowAdd="false" ShowEdit="false" /><span class="pad3blk">
                <telerik:RadButton ID="b01" runat="server" Text="清空成功日志" Icon-PrimaryIconCssClass="icon-unverify"
                    CommandName="Clear" CommandArgument="成功" UseSubmitBehavior="false" />
                <telerik:RadButton ID="b02" runat="server" Text="清空失败日志" Icon-PrimaryIconCssClass="icon-unverify"
                    CommandName="Clear" CommandArgument="失败" UseSubmitBehavior="false" /></span>
            </CommandItemTemplate>
            <PagerTemplate>
                <telerikEx:RadPagerEx ID="RadPagerEx1" runat="server" />
            </PagerTemplate>
            <Columns>
                <telerik:GridClientSelectColumn HeaderStyle-Width="28" ItemStyle-Width="28" />
                <telerik:GridBoundColumn DataField="id" Visible="false" />
                <telerik:GridBoundColumn HeaderText="登录名" DataField="username" />
                <telerik:GridBoundColumn HeaderStyle-Width="100" HeaderText="登录IP" DataField="ip" />
                <telerik:GridBoundColumn HeaderStyle-Width="130" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderText="登录时间" DataField="dat" />
                <telerik:GridBoundColumn HeaderStyle-Width="60" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderText="状态" DataField="type" />
                <telerik:GridBoundColumn HeaderStyle-Width="60" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderText="操作" DataField="zt" />
                <telerik:GridBoundColumn HeaderText="日志" DataField="txt" />
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
</asp:Content>
